package com.itheima.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.dao.StatisticsDao;
import com.itheima.pojo.Personnel;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

@Service(interfaceClass = StatisticsService.class)
@Transactional
public class StatisticsServiceImpl implements  StatisticsService {
   @Autowired
   private StatisticsDao statisticsDao;
    @Override
    public void save(Personnel personnel) {
         statisticsDao.save(personnel);
    }
}
